package lab02;

/**
 * Created by 其 on 2016/4/17.
 */
class Integer {
    int value;
    public Integer(){
        value=100;
    }
    public void DisplayValue(){
        System.out.println(value);
    }
}
class Document {
    Integer pi;
    public Document(){
        pi = new Integer();
    }
    public void DisplayData(){
        pi.DisplayValue();
    }
}
public class MyDoc{
    static Document d;
    public static void main(String [] args) {
        d = new Document();
        d.DisplayData();
    }
}
